package com.zhuyi.common.enums;

public enum FileCategoryEnum { //文件种类枚举类

    FOLDER((short) 1, "文件夹"),

    FILE((short) 2, "文件");

    private final Short code;

    private final String name;

    FileCategoryEnum(Short code, String name) {
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public String getName()
    {
        return name;
    }
}
